package com.csw.searchRecSys.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.csw.searchRecSys.dao.Category1Dao;
import com.csw.searchRecSys.entity.Category;

/**
 * @author 1
 */
@Service
@Transactional(rollbackFor = Exception.class)
/* @Transactional(rollbackFor = Exception.class) */
public class CategoryServiceImpl implements CategoryService {
	@Autowired
	private Category1Dao category1Dao;

	@Override
	public List<Category> qa() {
		return category1Dao.queryAll();
	}
}
